package com.meituan.meituanservice.service;

import com.meituan.meituanservice.model.User;


public interface UserService {

    boolean register(User user);
    User checkById(Integer id);
    User login(String nick,String password);
    User checkByNick(String nick);
    int updatePhone(Integer id,String newPhone,String oldPhone);
    int updatePayCode(Integer id,String newPayCode,String oldPayCode);
    int updateAvatar(String path, String userId);
    String verifyPayCode(String userId);

}
